# Description : SDDM için KDE Yapılandırma Modülü
# URL: https://www.kde.org/
# Packager: alihan-ozturk@hotmail.com
# Depends on: kf5-extra-cmake-modules sddm qt5 kf5-kio kf5-kauth kf5-kconfigwidgets kf5-kcoreaddons kf5-ki18n kf5-kxmlgui xorg-libx11 xcb-util-image libxcb xorg-libxcursor

name=plasma-sddm-kcm
version=5.8.1
release=1
_name=sddm-kcm

source=( http://download.kde.org/stable/plasma/$version/${_name}-$version.tar.xz)

build() {
cd ${_name}-$version
cmake -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DKDE_INSTALL_LIBDIR=lib \
      -DKDE_INSTALL_SYSCONFDIR=/etc \
      -DBUILD_TESTING=OFF \
      -Wno-dev
      
make
make DESTDIR=$PKG install
}
